//
//  GQHRouteTrucksView.h
//  Xanthium
//
//  Created by GuanQinghao on 09/03/2018.
//  Copyright © 2018 GuanQinghao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GQHTruckModel.h"


@protocol GQHRouteTrucksViewDelegate <NSObject>

@required
/// 默认必须实现

@optional
/// 可选实现
/// 点击列表项
- (void)qh_selectedRowWithTableView:(UITableView *)tableView atIndexPath:(NSIndexPath *)indexPath;

@end


@interface GQHRouteTrucksView : UIView

/// 代理
@property (nonatomic, weak) id<GQHRouteTrucksViewDelegate> qh_delegate;

/// 路线空车列表
@property (nonatomic, strong) UITableView *qh_tableView;

/// 路线空车模型
@property (nonatomic, strong) NSMutableArray<GQHTruckModel *> *qh_truckModelArray;

@end
